package osgi.common.services.job.client;

import org.quartz.Job;
import org.quartz.JobKey;

import osgi.common.services.client.ICommonService;
import osgi.common.services.job.IQuartzService;

public interface ICommonJob extends Job, ICommonService {

	public static final String OSGI_JOB_NAME = "OSGI.Job.Name";
	
	String getJobName();
	void setJobName( String jobName ); 
	
	String getJobGroup();
	void setJobGroup( String jobGroup );
	
	
	String getCronExpression();
	void setCronExpression( String cronExpression );
	
	
	
	void bindQuartzService   (IQuartzService service);
	void unbindQuartzService (IQuartzService service);
	
	void setJobKey( JobKey key );
	JobKey getJobKey();
	
}
